K value is to create a map with all zeros. Base is 14.7:1 and map numbers are offsets from base so zeros mean 14.7. Check AFR with a wideband at idle and through the revs to around 2500. Hold steady every few hundred RPM. Adjust K until you get as close to 14.7 as you can across the board. You be able to set it exactly but you can get it so the range is close like 14.6 to 14.8 or better. Then tweek latency to get a good smooth idle.